// vite.config.js
import { fileURLToPath, URL } from "node:url";
import { defineConfig } from "file:///D:/%E5%85%AB%E7%BB%B4/%E4%B8%93%E9%AB%98%E4%BA%8C/%E4%B8%8A%E8%AF%BE/2205/day16/myapp/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/%E5%85%AB%E7%BB%B4/%E4%B8%93%E9%AB%98%E4%BA%8C/%E4%B8%8A%E8%AF%BE/2205/day16/myapp/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import AutoImport from "file:///D:/%E5%85%AB%E7%BB%B4/%E4%B8%93%E9%AB%98%E4%BA%8C/%E4%B8%8A%E8%AF%BE/2205/day16/myapp/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///D:/%E5%85%AB%E7%BB%B4/%E4%B8%93%E9%AB%98%E4%BA%8C/%E4%B8%8A%E8%AF%BE/2205/day16/myapp/node_modules/unplugin-vue-components/dist/vite.js";
import { ElementPlusResolver } from "file:///D:/%E5%85%AB%E7%BB%B4/%E4%B8%93%E9%AB%98%E4%BA%8C/%E4%B8%8A%E8%AF%BE/2205/day16/myapp/node_modules/unplugin-vue-components/dist/resolvers.js";
var __vite_injected_original_import_meta_url = "file:///D:/%E5%85%AB%E7%BB%B4/%E4%B8%93%E9%AB%98%E4%BA%8C/%E4%B8%8A%E8%AF%BE/2205/day16/myapp/vite.config.js";
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    AutoImport({
      resolvers: [ElementPlusResolver()]
    }),
    Components({
      resolvers: [ElementPlusResolver()]
    })
  ],
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    }
  },
  server: {
    proxy: {
      "/api": {
        target: "http://124.221.74.149:3000/",
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/api/, "")
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0N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